﻿namespace SharedKernel.Application.Cqrs.Queries.Entities
{
    /// <summary>
    /// 
    /// </summary>
    public class Order
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="field"></param>
        /// <param name="ascending"></param>
        public Order(string field, bool ascending)
        {
            Field = field;
            Ascending = ascending;
        }

        /// <summary>
        /// 
        /// </summary>
        public string Field { get;}

        /// <summary>
        /// 
        /// </summary>
        public bool Ascending { get; }
    }
}